<div id="sidebar">

       <h3>Login</h3>
        <div id="loginForm">
        <g:if test='${flash.message}'>
			<div class='login_message'>${flash.message}</div>
		</g:if>
            <form method="POST" action="${resource(file: 'j_spring_security_check')}">
                <table>
                  <tr>
                    <td>Login:</td><td><g:textField name="j_username"/></td>
                  </tr>
                  <tr>
                    <td>Senha:</td><td><input name="j_password" type="password"/></td>
                  </tr>
                  <tr>
                    <td colspan="2"><g:submitButton name="login" value="Login"/></td>
                  </tr>
                  <tr>
                    <td colspan="2">Digite seu login e sua senha</td>
                  </tr>
                </table>
				
            </form>
        </div>

</div>
